using System;
using System.Collections.Generic;

public class MainData
{
	public List<AcceptMissionData> Mission;
	public void Resetup()
	{
		Mission = new List<AcceptMissionData>();
		DataManager.AddMission(10001);
	}
}

public class DataManager
{
	public static void AddMission(int MissionID)
	{
		if(GameData.MissionDatas.ContainsKey(MissionID))
		GameData.mainData.Mission.Add(new AcceptMissionData(){ID = MissionID,Setp = 0,Status = MissionStatus.Accept});
	}
}